<style>
.t_judul{
        
        padding:12px;
        font-size:16px;
        font-weight:bold;
        margin-bottom: 10px;
        padding-bottom: 20px;
}

.t_header{
        background:#dddddd;
        vertical-align: middle;
        padding:3px;
        text-align: center;
        border: solid 1px;
        font-weight: bold;
}

.t_isi{
        vertical-align: middle;
        padding:3px;
        border: solid 1px;
        font-weight: bold;
}
</style>

<div class="box" style="min-height:900px;">
        <!-- box / title -->
        <div class="title">
                <h5>My KPI</h5>
        </div>
        <!-- end box / title -->
        <span class=t_judul><?=$judul?></span>
        <table width=100% style="border:solid 1px #aaaaaa;" cellpadding==0 cellspacing==0>
                <thead>
                        <tr height="30px">
                                <th width=30 class="t_header">No</th>
                                <th width=120 class="t_header">User</th>
                                <th class="t_header">Name</th>
                        </tr>
                </thead>
                <tbody>
                <?php
                
                $i=1;
                foreach($getKPI as $r){
                        echo'<tr height=22>
                                <td class="t_isi" align=center>'. $i++ .'</td>
                                <td class="t_isi" align=center><a href="'. base_url() .'index.php/mykpi/index/'. $r->user_id .'">'. $r->user_id .'</a></td>
                                <td class="t_isi">'. $r->user_name .'</td>
                        </tr>';
                }
                ?>
                </tbody>
        </table>
        
</div>